#include "SDLTime.h"

SDLTime* SDLTime::mInstance = 0;

SDLTime::SDLTime()
{
	mLastTime = 0;
}

SDLTime::~SDLTime()
{
}

void SDLTime::Tick()
{
	int tick = SDL_GetTicks();
	mDeltaTime = (tick - mLastTime) * 0.001;
	mLastTime = tick;
}